package com.yaj.mesif.controller;

import com.yaj.mesif.unil.U8RespBean;
import org.springframework.web.bind.annotation.Mapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("U8")
public class U8Controller {
    @RequestMapping("u8_momclose")
    public U8RespBean url_u8_momclose(@RequestBody String res){
        U8RespBean u8RespBean = new U8RespBean();
        //u8RespBean.setResult("T");
        u8RespBean.setResult("F");
        u8RespBean.setResult("出错啦");
        u8RespBean.setReceiptNo("1234567");
        return u8RespBean;
    }

    @RequestMapping("u8_rdrecord10save")
    public U8RespBean u8_rdrecord10save(@RequestBody String res){
        U8RespBean u8RespBean = new U8RespBean();
        //u8RespBean.setResult("T");
        u8RespBean.setResult("F");
        u8RespBean.setResult("出错啦");
        u8RespBean.setReceiptNo("1234567");
        return u8RespBean;
    }
}
